﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlayerAndGameControl
{
	class Player
	{
		//player name
		private String name;
		public String Name
		{
			get
			{
				return name;
			}
			set
			{
				name = value;
			}
		}

		//gold
		private int gold;
		public int Gold
		{
			get
			{
				return gold;
			}
			set
			{
				gold = value;
			}
		}

		//arrows
		private int arrows;
		public int Arrows
		{
			get
			{
				return arrows;
			}
			set
			{
				arrows = value;
			}
		}

		//turn number
		private int turnNumber;
		public int TurnNumber
		{
			get
			{
				return turnNumber;
			}
			set
			{
				turnNumber = value;
			}
		}

		public Player(String newName)
		{
			name = newName;

			//Sets default values
			gold = 10;
			arrows = 3;
		}
		public Player()
		{
			name = "Player";
		}
	}
}
